package com.york.tinyrpc.protoss.constant;

/**
 * 负载均衡器常量
 */
public final class LoadBalancerConstants {

    private LoadBalancerConstants() {
    }

    // region 负载均衡器名称

    /**
     * 一致性哈希负载均衡
     */
    public static final String CONSISTENT_HASH = "consistentHash";

    /**
     * 随机模式负载均衡
     */
    public static final String RANDOM = "random";

    /**
     * 轮询模式负载均衡
     */
    public static final String ROUND_ROBIN = "roundRobin";

    /**
     * 静态加权随机模式负载均衡
     */
    public static final String STATIC_WEIGHTED_RANDOM = "staticWeightedRandom";

    /**
     * 静态加权轮询模式负载均衡
     */
    public static final String STATIC_WEIGHTED_ROUND_ROBIN = "staticWeightedRoundRobin";

    // endregion

}
